package com.csl.jsonpreference.test

import com.csl.jsonpreference.tag.Configurable
import com.csl.jsonpreference.tag.JsonConfig
import com.google.gson.Gson
import com.google.gson.annotations.SerializedName
import org.json.JSONObject



@JsonConfig(title = "wifi信息222", describe = "配置连接wifiddd", valueStr = "&ssid:&pwd")
class WifiInfo  {

    @JsonConfig(title = "wifi SSID", describe = "这个是ssid, ssid的ssid", index = 0)
    var ssid: String = ""

    @JsonConfig(title = "wifi 密码", describe = "这个是密码, 不给用的密码", index = 1)
    var pwd: String = ""
    override fun toString(): String {
        return "WifiInfo(ssid='$ssid', pwd='$pwd')"
    }


}